package org.kgc.alanhealth.service;

import org.kgc.alanhealth.entity.*;

import java.util.List;

public interface MyInformationService {
    List<HospitalUser> getUserById(int id);
    List<HospitalHealthmanage> getHealthManageById(int id);
    List<HospitalAllergy> selectAllergyById(int id);
    List<HospitalDisease> selectAnamnesisById(int id);

    List<HospitalAllergy> selectAllAllergy();

    List<HospitalDisease> selectAllAnamnesis();


    boolean addHealthManage(HospitalHealthmanage healthManage);

    boolean updateHealthManage(HospitalHealthmanage healthInfo);

    boolean deleteHealthManage(int id);

    List<HospitalUseraddress> getAddressById(int id);

    boolean addAddress(HospitalUseraddress hospitalUseraddress);

    boolean deleteAddressManage(int id);

    boolean updateAddress(HospitalUseraddress hospitalUseraddress);


    List<HospitalHealthmanage> getHealthManageByCard(String idcard);
}

